package com.qyhl.webtv.module_live.teletext.detail.popview.detail;

import com.qyhl.webtv.commonlib.entity.live.ShoppingListBean;
import com.qyhl.webtv.commonlib.entity.live.ShoppingUserInfoBean;

public interface TeleTextShopDetailContract {
    interface TeleTextShopDetailView{
        void setDetail(ShoppingListBean bean);

        void setError(String msg);

        void setStock(int stock);

        void setUserInfo(ShoppingUserInfoBean bean);

        void orderSuccess(String msg);

        void orderError(String msg);
    }

    interface TeleTextShopDetailPresenter{
        void getDetail(String id);

        void getStock(String id);

        void getUserInfo(String userName);

        void doOrder(String name,String phone,String itemId,String number);

        void setDetail(ShoppingListBean bean);

        void setError(String msg);

        void setStock(int stock);

        void setUserInfo(ShoppingUserInfoBean bean);

        void orderSuccess(String msg);

        void orderError(String msg);
    }

    interface TeleTextShopDetailModel{
        void getDetail(String id);

        void getStock(String id);

        void getUserInfo(String userName);

        void doOrder(String name,String phone,String itemId,String number);
    }
}
